/*
 * @Author: Baishui
 * @Date: 2021-09-14 09:15:34
 * @LastEditors: Baishui
 * @LastEditTime: 2021-10-21 10:52:49
 * @Description: file content
 */

import { RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw[] = [
  {
    path: '/feat',
    name: 'Feat',
    component: () => import('@/layout/index.vue'),
    meta: {
      title: '功能',
    },
    children: [
      {
        path: '/feat/anchor',
        name: 'Anchor',
        component: () => import('@/views/feat/anchor/index.vue'),
        meta: {
          title: '导航栏锚点',
        },
      },
      {
        path: '/feat/download',
        name: 'Download',
        component: () => import('@/views/feat/download/index.vue'),
        meta: {
          title: '下载',
        },
      },
      {
        path: '/feat/imgPreView',
        name: 'ImgPreView',
        component: () => import('@/views/feat/imgPreView/index.vue'),
        meta: {
          title: '图片预览',
        },
      },
      {
        path: '/feat/print',
        name: 'Print',
        component: () => import('@/views/feat/print/index.vue'),
        meta: {
          title: '打印',
        },
      },
    ],
  },
]

export default routes
